import React, { useState, createContext, useContext } from 'react';
import { themes,defaultTheme } from './const.js';
export const ThemeContext = createContext(themes[defaultTheme]);